package com.example.demo.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.example.demo.base.BaseEntity;

@TableName("user")
public class User extends BaseEntity<Long> {

    /**
     * 用户账号
     */
    private String platForm;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 用户密码MD5加密
     */
    private String password;

    /**
     * state 0管理员 1业主
     */
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPlatForm() {
        return platForm;
    }

    public void setPlatForm(String platForm) {
        this.platForm = platForm;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
